package org.example.service.impl;

import org.example.dao.StuDao;
import org.example.pojo.Student;
import org.example.service.StuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class StuServiceImpl implements StuService {
    @Autowired
    private StuDao stuDao;

    @Override
    public List<Student> getAll() {
        return stuDao.getAll();
    }
}
